from django.conf.urls.defaults import *
from feedbackcn import settings
from django.contrib.auth.views import login, logout
from django.contrib import admin

admin.autodiscover()

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^feedback/', include('feedback.foo.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # (r'^admin/', include(admin.site.urls)),
    (r'^css/(?P<path>.*)$', 'django.views.static.serve',
	{'document_root':  '/home/xxx/feedbackcn/templates/css'}),
    (r'^admin/', include(admin.site.urls)),
    (r'^accounts/', include('registration.urls')),
    (r'^login/$',  login),
    (r'^accounts/logout/$', logout),
    (r'^register/$', 'feedbackcn.fb.views.register'),
    (r'^feedback$', 'feedbackcn.fb.views.feedback'),
    (r'^$', 'feedbackcn.fb.views.home'),
    (r'^price$', 'feedbackcn.fb.views.price'),
)
